#include "TcpServer.h"

TcpServer::TcpServer(const uint16_t port)
{
    acceptor_=new Acceptor(&loop_,port);
}
TcpServer::~TcpServer()
{}

void TcpServer::start()
{
    loop_.run();
}